package com.fifth.emp.feign;

import com.fifth.common.pojo.entity.BusinessInfo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

@FeignClient(value = "mrcai-business")
public interface BusinessFeign {
    @PostMapping("/api/business/ipshop")
    public List<BusinessInfo> ipshop();

    @PostMapping("api/business/updatestate/{id}")
    public int updatestate(@PathVariable String id);
}
